.main-con {
    background-image: url('img/SignBg.jpg');
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Courier New', Courier, monospace;
}

.form-container {
    background: rgba(80, 16, 86, 0.406);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 1s ease;
    color: #fff;
    /* Optional: Make text readable over light background */
}


.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #fff;
}

.form-group input {
    background: none;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: 0.3s ease;
}

.form-group input::placeholder {
    color: #8b8b8b;
}

.form-group input:focus {
    border-color: #6a82fb;
    outline: none;
    box-shadow: 0 0 5px rgba(106, 130, 251, 0.4);
}

.subBtn2 {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #6a82fb, #fc5c7d);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

.subBtn2:hover {
    transform: scale(1.03);
    background: linear-gradient(to right, #fc5c7d, #6a82fb);

    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.custom-alert {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 16px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* responsive on mobile screen */
@media (max-width: 768px) {

    .form-container {
        margin: 0 auto;
        width: 90%;
        margin-bottom: 20px;

    }


}